<!--
 * @Author: your name
 * @Date: 2021-04-02 10:41:05
 * @LastEditTime: 2021-04-25 09:26:23
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \active-front\src\components\Personal\SignedUp\index.vue
-->

<template>
  <div>
    <HoteventsIndex
      title=" "
      @updateId="updateId"
      apiName="searchList"
      :tagId="id"
    />
  </div>
</template>

<script>
import { mapMutations } from "vuex";
export default {
  data() {
    return {
      id: ""
    };
  },
  methods: {
    updateId(id = "id") {
      console.log(this);
      this.id = id;
    },
    ...mapMutations(["activeIndexUpdate"])
  },

  created() {
    const { id } = this.$route.params;
    this.id = id;
  },
  mounted() {
    this.activeIndexUpdate(this.id);
  }
};
</script>
